Skip to content

fix(web): pull requests both computers list show under this one - #978

Merged
badcuban merged 1 commit into
mainfrom
fix/pr-device-labels
Nov 17, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/pr-device-labels

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

When this computer and a connected computer both have the same repository, the pull requests page labeled the shared pull requests with the other computer's name. Merge and checkout from the page also ran on that other computer.

The page keeps one row per pull request and gives it to the first computer it asked, but it sorted computers by environment id before asking. Now this device is always asked first, and other computers follow by id so the order stays stable. The ordering lives in a small orderPullRequestEnvironments helper with a test that fails on the old sort.

The pull requests page keeps one row per pull request and seats it with
the first computer it asked. It sorted every computer by environment id
before asking, so a connected computer whose id sorted first took every
pull request the two shared: rows showed the other computer's name, and
merge or checkout from the page ran there too.

This device is now always asked first, and other computers follow by id
so the order still holds still.
@vercel

vercel Bot commented Nov 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 17, 2026 6:55pm UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 7334a58 Nov 17, 2026
24 checks passed
@badcuban
badcuban deleted the fix/pr-device-labels branch November 17, 2026 19:10

This branch was previously deployed

1 inactive deployment
Preview — dc49dcfa Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant